Skip to content

Domoticz

322 Topics 2.3k Posts
  • Push V_Text value update from Domoticz to MySensors node

    6
    0 Votes
    6 Posts
    3k Views
    L
    I already have (in a github issue). Didn't get any answer yet. I am currently trying to simply use some other type of sensor (as I just need to send an integer) but none of them have really worked yet.
  • Sensor Type

    4
    0 Votes
    4 Posts
    1k Views
    F
    Thanks for the feedback. I will start to look into scripting
  • Scene controller: how to do it bidirectional

    9
    0 Votes
    9 Posts
    2k Views
    rozpruwaczR
    I would argue about that :), the display can be used as a very flexible control panel without any state. This simplifies things a lot. I'm just sharing my expirience, it may be just not worth the effort :)
  • How to update counter using json

    1
    0 Votes
    1 Posts
    765 Views
    No one has replied
  • Gateway migration

    8
    0 Votes
    8 Posts
    3k Views
    mmaura66M
    @betonishard said in Gateway migration: I switched from the serial gateway to the lan gateway. I solved this in domoticz by updating the serial one with the LAN. Worked immediately without re-adding whatsoever. Maybe lucky? i will try and return feedback, thank you
  • How can I manage S_LIGHT_BINARY child in Domotics?

    5
    2
    0 Votes
    5 Posts
    1k Views
    kalinaK
    It works!!! I just have pressed on lamp picture [image: 1496780208450-lamp.jpeg] and my lamp (in the room) switched on :) @mfalkvidd, thanks again.
  • Indexing of child id

    4
    1
    0 Votes
    4 Posts
    2k Views
    gohanG
    A beta feature that work on its own 😅
  • Multiple gateways in domoticz

    5
    0 Votes
    5 Posts
    2k Views
    mhkoM
    okay thank you again. I tried to change form channel 76 to 86 that did not do a difference. now i will try with channel 124.
  • Devices are not showing some sensors on the node

    13
    0 Votes
    13 Posts
    4k Views
    gohanG
    I am fine if they get combined but still let me choose individual one: in my first screenshot you can see the sensors are all combined but no individual ones. I think also that playing with child ids could play a role in this.
  • Domoticz - soil moisture + one relay = Lua script error (Blockly)

    27
    0 Votes
    27 Posts
    7k Views
    k5austriaK
    Ok ! Sorry ! After several reset from raspberry is the sensor visible by Domoticz, but is not in device list. [image: 1493548846701-2017-04-30-12_23_44-domoticz-resized.png] [image: 1493548846778-2017-04-30-12_22_50-domoticz-resized.png]
  • RGBW lights not reacting simultaneously after Domoticz restart

    4
    0 Votes
    4 Posts
    1k Views
    gohanG
    If you want to debug the gateway you need to have it configured as ethernet and use myscontroller or mqtt and use any mqtt client. But since you already figured that it's actually the controller that is sending the delayed commands, I guess it's an issue much more to the controller engine rather than mysensors. Did you ask in domoticz forum yet?
  • MySensors 2.1.1 and serial port

    5
    0 Votes
    5 Posts
    2k Views
    K
    @B_Johnny23 Raspberry 3's GPIO/serial port ? I can see "Using serial port: /dev/ttyUSB20" in your log. It looks like serial through USB. RPI3 GPIO serial port has got some differncies compare with previous RPi2. http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3/
  • Can't see any sensors in Domoticz

    6
    0 Votes
    6 Posts
    3k Views
    mppM
    @ErrK, see this topic http://www.esp8266.com/viewtopic.php?f=6&t=10901 I had the same issue, pressing reset didn't work but reconnecting the USB cable did the trick.
  • 0 Votes
    5 Posts
    2k Views
    edsteveE
    Yeahaa. Thanks so much. I really appreciate it! Some small changes with temp4 and works like a charm. If you don't accept my offer. Then the transfer goes to mysensors community :) Here the working code IF someone need it or i loose mine ;) #define MY_RADIO_NRF24 #define MY_DEBUG #include <MySensors.h> #include <SPI.h> #include <OneWire.h> #include <DallasTemperature.h> // Data wire is plugged into port 2 on the Arduino #define ONE_WIRE_BUS 4 #define TEMPERATURE_PRECISION 10 // Setup a oneWire instance to communicate with any OneWire devices (not just Maxim/Dallas temperature ICs) OneWire oneWire(ONE_WIRE_BUS); // Pass our oneWire reference to Dallas Temperature. DallasTemperature sensors(&oneWire); #define NODE_ID 1 #define CHILD_ID_WIND 1 #define CHILD_ID_TEMP1 3 #define CHILD_ID_TEMP2 4 #define CHILD_ID_TEMP3 5 #define CHILD_ID_TEMP4 6 #define CHILD_ID_TEMP5 7 unsigned int val_wspeed; unsigned int val_wgust; unsigned int val_wdirection; unsigned int last_wspeed; unsigned int last_wgust; unsigned int last_wdirection; DeviceAddress temp1 = { 0x28, 0xEE, 0xB6, 0xB1, 0x27, 0x16, 0x01, 0x1F }; DeviceAddress temp2 = { 0x28, 0xEE, 0xE1, 0x20, 0x28, 0x16, 0x01, 0xEA }; DeviceAddress temp3 = { 0x28, 0xEE, 0x0D, 0xAA, 0x24, 0x16, 0x02, 0x8A }; DeviceAddress temp4 = { 0x28, 0xEE, 0x7D, 0xA8, 0x24, 0x16, 0x02, 0xE0 }; DeviceAddress temp5 = { 0x28, 0xFF, 0xF6, 0x8F, 0x62, 0x16, 0x03, 0x7F }; MyMessage msgWSpeed(CHILD_ID_WIND, V_WIND); MyMessage msgWGust(CHILD_ID_WIND, V_GUST); MyMessage msgWDirection(CHILD_ID_WIND, V_DIRECTION); MyMessage msg(0,V_TEMP); void setup(void) { // start serial port Serial.begin(115200); Serial.println("Dallas Temperature IC Control Library Demo"); // Start up the library sensors.begin(); // report parasite power requirements Serial.print("Parasite power is: "); if (sensors.isParasitePowerMode()) Serial.println("ON"); else Serial.println("OFF"); // set the resolution to 9 bit sensors.setResolution(temp1, TEMPERATURE_PRECISION); sensors.setResolution(temp2, TEMPERATURE_PRECISION); sensors.setResolution(temp3, TEMPERATURE_PRECISION); sensors.setResolution(temp4, TEMPERATURE_PRECISION); sensors.setResolution(temp5, TEMPERATURE_PRECISION); } void presentation() { present(CHILD_ID_WIND, S_WIND); present(CHILD_ID_TEMP1, S_TEMP); present(CHILD_ID_TEMP2, S_TEMP); present(CHILD_ID_TEMP3, S_TEMP); present(CHILD_ID_TEMP4, S_TEMP); present(CHILD_ID_TEMP5, S_TEMP); } void loop() { // call sensors.requestTemperatures() to issue a global temperature // request to all devices on the bus Serial.print("Requesting temperatures..."); sensors.requestTemperatures(); Serial.println("DONE"); // print the device information float east = sensors.getTempC(temp1); Serial.print("East C: "); Serial.println(east); send(msg.setSensor(CHILD_ID_TEMP1).set(east,1)); float north = sensors.getTempC(temp2); Serial.print("North C: "); Serial.println(north); send(msg.setSensor(CHILD_ID_TEMP2).set(north,1)); float west = sensors.getTempC(temp5); Serial.print("West C: "); Serial.println(west); send(msg.setSensor(CHILD_ID_TEMP5).set(west,1)); float south = sensors.getTempC(temp3); Serial.print("South C: "); Serial.println(south); send(msg.setSensor(CHILD_ID_TEMP3).set(south,1)); float out = sensors.getTempC(temp4); Serial.print("Test C: "); Serial.println(out); send(msg.setSensor(CHILD_ID_TEMP4).set(out,1)); // calculating wind direction form temperature differences if (north > south && north > west && north > east ) { Serial.println("SOUTH"); unsigned int val_wdirection = 180; send(msgWDirection.set(val_wdirection)); Serial.print("WD: "); Serial.println(val_wdirection); } if (east > north && east > west && east > south ) { Serial.println("WEST"); unsigned int val_wdirection = 280; send(msgWDirection.set(val_wdirection)); Serial.print("WD: "); Serial.println(val_wdirection); } if (south > north && south > west && south > east ) { Serial.println("NORTH"); unsigned int val_wdirection = 0; send(msgWDirection.set(val_wdirection)); Serial.print("WD: "); Serial.println(val_wdirection); } if (west > north && west > south && west > east ) { Serial.println("EAST"); unsigned int val_wdirection = 90; send(msgWDirection.set(val_wdirection)); Serial.print("WD: "); Serial.println(val_wdirection); } //domoticz must see speed and gust so i give random numbers for testing unsigned int val_wspeed = 17; if(last_wspeed != val_wspeed) { last_wspeed = val_wspeed; send(msgWSpeed.set(val_wspeed, 1)); Serial.print("WS: "); Serial.println(val_wspeed); } unsigned int val_wgust = 5; if(last_wgust != val_wgust) { last_wgust = val_wgust; send(msgWGust.set(val_wgust, 1)); Serial.print("WG: "); Serial.println(val_wgust); } delay (5000); }
  • domoticz rules == node red?

    4
    0 Votes
    4 Posts
    3k Views
    V
    is there a way to use NodeRed for rules and exporting them to domoticz's Lua?
  • domoticz request battery info to node

    10
    0 Votes
    10 Posts
    2k Views
    gohanG
    For smartsleep take a look at NodeManager which can also change the sleep time from controller
  • Different Node ID for same node

    2
    2
    0 Votes
    2 Posts
    888 Views
    L
    Domoticz lists the nodes as hex imo (and also adds the child number at the end). Have a look at your gateway in the "hardware" tab. It should list the right (the same as in your sketch) node id there.
  • <SOLVED> What is wrong with my S_Wind V_Direction value? Never changes...

    8
    0 Votes
    8 Posts
    2k Views
    edsteveE
    Thanks for still coping with me. Tried playing with your suggestions but no success as well. But i found the problem. SOLUTION: I just gave the wind-sensor-node a different NODE_ID manually and now it updates the direction value. Seems there was some problems with old data when i used this arduino as a temp sensor.
  • Send value from Domoticz to MySensor node

    10
    0 Votes
    10 Posts
    5k Views
    moumout31M
    Thanks a lot, it works using V_TEXT instead of V_KWH !
  • MySensors thermostat

    10
    0 Votes
    10 Posts
    4k Views
    alowhumA
    No, I have a gas-heater that has a powerplug to turn it on and off. As binary as it gets. What I was looking for MySensors code for a node that is a stand-alone thermostat, but that can also be given an override setpoint through Domoticz. I am looking for tips/code that will let Domoticz send a keep-alive signal to the node. Basically I'm looking for ways to do this robustly and securely. There are so many configurations possible.

13

Online

11.7k

Users

11.2k

Topics

113.1k

Posts